// This is a basic Flutter widget test.
//
// To perform an interaction with a widget in your test, use the WidgetTester
// utility that Flutter provides. For example, you can send tap and scroll
// gestures. You can also use WidgetTester to find child widgets in the widget
// tree, read text, and verify that the values of widget properties are correct.

import 'package:flutter_test/flutter_test.dart';
import 'package:mybase/base/tool/entitylog/MyApiTestRun.dart';

Future<void> main() async {
  await MyApiTestRun.createApiCode(
    importHeaderFile:
        "/Users/os/spotify/spotify/test/templateFile/TemplateImportHeader.txt",
    templateFile:
        "/Users/os/spotify/spotify/test/templateFile/TemplateApiDataList.txt",
    targetFile: "/Users/os/spotify/spotify/lib/api/moduleApi/PlaylistApi.dart",
    methodNotes: "同步spotify歌单",
    methodName: "playlists_syncSpotifyPlaylist",
    apiMethodType: "ApiUtils.PostMethd",
    // apiMethodType: "ApiUtils.GetMethod",
    url: "v1.playlists/syncSpotifyPlaylist",
    entityClassName: "YCEntity",
  );
}
